home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 19.zip
/
BS1 part 19
/
AmigaLibDisk 150.adf
/
ExecLib
/
test.c
< prev
next >
Wrap
C/C++ Source or Header
|
1987-06-15
|
512b
|
31 lines
#include <exec/types.h>
int FLamBase;
void main()
{
register int test;
if ( !(FLamBase = OpenLibrary( "flam.library", 0 )))
{
printf("Open flam.library failed\n");
exit(20);
}
printf("OpenLib OK\n");
test = fl_Plus( 13, 6 );
printf("fl_Plus() = %ld\n", test );
test = fl_Minus( 13, 6 );
printf("fl_Minus() = %ld\n", test );
CloseLibrary( FLamBase );
RemLibrary( FLamBase ); /* Optional - call the lib expunge routine */
exit(0);
}